public class TraceStudent{
    static List<Webpages>=new Vector<WebPage>;
	public static void createWebPages(){
		for(int i=0;i<100;i++){
			WebPage wp=new WebPage();//新网页
			wp.setUrl("http://www."+Integer.toString(I)+".com");//seturl
			wp.setContent(Integer.tostring(i));//内容i
			webpages.add(wp);//增加网页
		}
	}
	public static void main(String args[]){
		createWebPages();
		Student st3=new Student(3,"");
		Student st5=new Student(5,"");
		Student st7=new Student(7,"");
		for(int i=0;o<webpages.size();i++){
			if(i%st3.getId()==0) st3.visit(webpages.get(i));
			if(i%st5.getId()==0) st5.visit(webpages.get(i));
			if(i%st7.getId()==0) st7.visit(webpages.get(i));
		}
		webpages.clear();
		System.gc();
	}
}